#regra: dependencias
#	comandos
#	comando


#Makefile of Dvd Rent Store

#now we're going to define macros

PROGRAM = dvdstore
OBJECTS = main.o Person.o

LD = $(CC)
LDFLAGS = -g

$(PROGRAM) : $(OBJECTS)
	g++ -o $@ $(OBJECTS)

main.o: main.cpp
	g++ -c main.cpp

Person.o: Person.cpp Person.h
	g++ -c Person.cpp

clear:
	rm *.o

run:
	rm ./dvdstore
